package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


/**
 * @descreption:
 * @author: xhr
 * @date: 2022/09/16
 */
@TableName("appointment")
@Data
public class Appointment {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String room;
    private Integer counselorId;
    private String time;
    private String exactTime;
    private Integer limitPeople;
    @TableField(exist = false)
    private Integer surplus;
    @TableField(exist = false)
    private String state;
    @TableField(exist = false)
    private String sid;
}
